home *** CD-ROM | disk | FTP | other *** search
/ The 640 MEG Shareware Studio 2 / The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO / mail / tag_tool.zip / READ_ME.DOC < prev    next >
Text File  |  1992-10-26  |  3KB  |  91 lines

  1. DUPES    DBF    458752 10-26-92  12:25p
  2. DUPES    NDX    643584 10-26-92  12:25p
  3. FILES    TXT       165 10-26-92  12:31p
  4. TAGLINES BAS       455 10-26-92   1:06p
  5. TAGLINES EXE     40700 10-26-92   1:08p
  6. TAGLINES OLX    286914 10-26-92  12:28p
  7. TAGLINES PRG       306 10-12-92   3:03p
  8.  
  9. ===========================================================
  10.  
  11. I needed a way to sort tagline files (in this case, for
  12. Mustang's OLX .QWK Mail Packet Reader), and the file was
  13. much too large to use the DOS SORT.EXE command as it is
  14. rather easy to run out of memory.
  15.  
  16. The quickest way I felt was to use the capabilities of
  17. dBase III/III+ so I wrote TAGLINES.PRG to accomplish
  18. this.
  19.  
  20. Copy all of the above files into your dBase directory.
  21.  
  22. Start dBase.
  23.  
  24. Use the commands:  "use dupes index dupes"
  25.  
  26.                    "append from taglines.olx sdf"
  27.  
  28.                    "reindex"
  29.  
  30.                    "do taglines"
  31.  
  32.                    "copy to taglines.olx sdf"
  33.  
  34. What this little program does is append your ASCII file of
  35. taglines into one file.  You may append as many different
  36. ASCII tagline files that you have, disk space and dBase are
  37. the only limitations.
  38.  
  39. After doing this I ran into a problem in that this writes out
  40. an entire 72 characters which makes it impossible to change or
  41. add a tagline without deleted the spaces at the end.
  42.  
  43. I then wrote the little Q-Basic program TAGLINES.BAS and
  44. compiled it into TAGLINES.EXE (with out the necessary
  45. run-time module).
  46.  
  47. run this program by typing "TAGLINES".
  48.  
  49. It will ask you for in input file that dBase just created and
  50. sorted for you.  Then it will need a temporary file name (I use
  51. TAGLINES.TXT).  The little BASIC program will then read every
  52. line, and strip off the trailing spaces for you.
  53.  
  54. It is then a simple matter to copy TAGLINES.TXT over the top
  55. of TAGLINES.OLX (or whatever).
  56.  
  57. "copy taglines.txt taglines.olx" is the example of the DOS
  58. commands to do this.
  59.  
  60. I have included the source code for both the dBase program as well
  61. as the BASIC program.
  62.  
  63. If you do not have dBase (or access to it), then I have also
  64. included a COBOL file with source code and memory map for you
  65. to sort your ASCII tagline file down - it was written to allow
  66. the sorting of the file in either ascending OR descending
  67. order.  The only warning here is that the tagline file must NOT
  68. contain a tagline over 80-characters long.  If you change your
  69. mind while running this TAG-SORT.EXE file, just press CTRL-C
  70. to break out of it.
  71.  
  72. I have tried to keep this simple and as flexible as possible which
  73. is the reason I used so many steps instead of including all of this
  74. into one program and just running it.
  75.  
  76. If you have any suggestions or problems or let me know.  I may
  77. decide later to write the entire thing in COBOL if there is
  78. enough interest.  Again, these programs are free to do with as
  79. you please.  I expect no payment for these little TAGLINE
  80. utilities.  I simply wanted to give you the benefit of my
  81. experience and access to the couple of utilites I use on about
  82. a monthly basis.
  83.  
  84.  
  85.  
  86.  
  87. Roger Cravens
  88. SYSOP, Total Recall BBS
  89. Douglasville, Georgia (USA)
  90. (404) 920-0621
  91.